package saxion.speelveld.spaceengineer.buildings;

import saxion.speelveld.spaceengineer.R;
import saxion.speelveld.spaceengineer.model.ProducingBuilding;
import saxion.speelveld.spaceengineer.model.Resource;
import saxion.speelveld.spaceengineer.model.ResourceType;

public class WareHouses extends ProducingBuilding
{

	public WareHouses()
	{
		super(3, 2);
		super.setBuildingName(WareHouses.this.getClass().getSimpleName());
		super.setBuildingExplanation("The Ware House provides you of a place to store you're resources.");
		super.resourceCosts.add(new Resource(ResourceType.MONEY, 200));
		super.resourceCosts.add(new Resource(ResourceType.ELECTRICITY, 75));
		super.resourceCosts.add(new Resource(ResourceType.WATER, 75));
		super.resourceCosts.add(new Resource(ResourceType.GLASS, 50));
		super.resourceCosts.add(new Resource(ResourceType.METAL, 200));
		super.resourceCosts.add(new Resource(ResourceType.SCIENCEPOINTS, 10));

		super.addResourceProduceGain(new Resource(ResourceType.STORAGESPACE, 1500, false));

		super.resourceImages = new int[6];
		super.resourceImages[0] = R.drawable.warehouse_0;
		super.resourceImages[1] = R.drawable.warehouse_1;
		super.resourceImages[2] = R.drawable.warehouse_2;
		super.resourceImages[3] = R.drawable.warehouse_3;
		super.resourceImages[4] = R.drawable.warehouse_4;
		super.resourceImages[5] = R.drawable.warehouse_5;
		super.setPreviewResourceImageId(R.drawable.warehouse);
	}

}
